int main()
{

    int n;
    char s[100];
    while(~scanf("%d",&n))
    {
        sprintf(s,"%d",n);
        sscanf(s+1,"%d",&n);//nice
        printf("%d\n",n);
    }

    return 0;
}
